<!--
# coding=UTF-8
# Copyright (c) 2025 Bird Software Solutions Ltd
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
#    Neil Mackenzie - initial API and implementation
#    Benjamin Arfa - improvements
#
-->
{% extends 'base.html' %}
{% block content %}
<!DOCTYPE html>
<html>
<head>
<title>Report Templates</title>
</head>
<body>
<h1>Report Templates</h1>
<table border="1">
<a href="{% url 'pybirdai:step_by_step_mode'%}">Back to the FreeBIRD Application Home Page</a>

{% if templates %}
    {% for template in templates %}
    <tr><td><a href="{% url 'pybirdai:show_report' template.filename %}">{{ template.display_name }}</a></td></tr>
    {% endfor %}
{% else %}
    <tr><td colspan="1">No FINREP report templates available. Please download templates first.</td></tr>
{% endif %}

</table>
</body>
</html>
{% endblock %}
